home *** CD-ROM | disk | FTP | other *** search
/ VRML 2.0 Sourcebook (2nd Edition) / VRML 2.0 Sourcebook CD [md5 fed90f4f9c39d5a60d477058775c7e21].iso / book / win / ch06 / 06fig11.wrl < prev    next >
Text File  |  1996-09-23  |  599b  |  35 lines

  1. #VRML V2.0 utf8
  2. # The VRML 2.0 Sourcebook
  3. # Copyright 1997 By
  4. # Andrea L. Ames, David R. Nadeau, and John L. Moreland
  5. Group{
  6.     children [
  7.     # Lamp base
  8.         Shape {
  9.             appearance DEF White Appearance {
  10.                 material Material { }
  11.             }
  12.             geometry Cylinder {
  13.                 radius 0.1
  14.                 height 0.01
  15.             }
  16.         },
  17.     # Base joint
  18.         Transform {
  19.             translation 0.0 0.15 0.0
  20.             rotation    1.0 0.0 0.0  -0.7
  21.             center      0.0 -0.15 0.0
  22.             children [
  23.                 # Lower arm
  24.                 Shape {
  25.                     appearance USE White
  26.                     geometry Cylinder {
  27.                         radius 0.01
  28.                         height 0.3
  29.                     }
  30.                 }
  31.             ]
  32.         }
  33.     ]
  34. }
  35.